﻿namespace FFF.Test.Entity.CF.View
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.AutoMapper;
    using Abp.Domain.Entities;
    using FFF.Test.Entity.Framework.View;

	/// <summary>
    /// 配置类业务参数表视图
    /// </summary>
	[Table("View_CF_BizConfigOption")]
    [Display(Name = "配置类业务参数表视图", Description = "配置类业务参数表视图")]
    [AutoMapTo(typeof(ViewCFBizConfigOption))]  
    public partial class ViewCFBizConfigOption : BaseView<Guid>
    {
        /// <summary>
        /// 配置类业务参数GUID
        /// </summary>
		[Display(Name = "配置类业务参数GUID", Description = "配置类业务参数GUID")]
        [Column("BizConfigOptionGUID")]
        public override Guid Id { get; set; }
           
         /// <summary>
        /// 配置类业务参数分组GUID
        /// </summary>
		[Display(Name = "配置类业务参数分组GUID", Description = "配置类业务参数分组GUID")]
        [Column("BizConfigGroupGUID")]
         public Guid? BizConfigGroupGUID { get; set; }
           
         /// <summary>
        /// 配置类业务参数名称
        /// </summary>
		[Display(Name = "配置类业务参数名称", Description = "配置类业务参数名称")]
        [Column("BizConfigOptionName", TypeName = "VARCHAR(256)")]
		[StringLength(256)]
        public string BizConfigOptionName { get; set; }
           
         /// <summary>
        /// 业务参数类型(1,文本框;2,数字框;3,单选;4,多选;5,日期;6,下拉)
        /// </summary>
		[Display(Name = "业务参数类型(1,文本框;2,数字框;3,单选;4,多选;5,日期;6,下拉)", Description = "业务参数类型(1,文本框;2,数字框;3,单选;4,多选;5,日期;6,下拉)")]
        [Column("BizOptionType")]
         public CF.CFBizConfigOptionBizOptionTypeEnum BizOptionType { get; set; }
           
         /// <summary>
        /// 如果是checkbox和下拉那么需要配置对应的值逗号分割
        /// </summary>
		[Display(Name = "如果是checkbox和下拉那么需要配置对应的值逗号分割", Description = "如果是checkbox和下拉那么需要配置对应的值逗号分割")]
        [Column("BizOptions", TypeName = "VARCHAR(4096)")]
		[StringLength(4096)]
        public string BizOptions { get; set; }
           
         /// <summary>
        /// 参数的值多个以,分割
        /// </summary>
		[Display(Name = "参数的值多个以,分割", Description = "参数的值多个以,分割")]
        [Column("BizOptionValue", TypeName = "VARCHAR(4096)")]
		[StringLength(4096)]
        public string BizOptionValue { get; set; }
           
         /// <summary>
        /// 参数的排序
        /// </summary>
		[Display(Name = "参数的排序", Description = "参数的排序")]
        [Column("BizOptionOrder", TypeName = "VARCHAR(144)")]
		[StringLength(144)]
        public string BizOptionOrder { get; set; }
           
         /// <summary>
        /// 参数范围GUID有可能集团有可能公司
        /// </summary>
		[Display(Name = "参数范围GUID有可能集团有可能公司", Description = "参数范围GUID有可能集团有可能公司")]
        [Column("BizOptionScopeGUID")]
         public Guid? BizOptionScopeGUID { get; set; }
           
         /// <summary>
        /// 租户的GUID
        /// </summary>
		[Display(Name = "租户的GUID", Description = "租户的GUID")]
        [Column("TenantId")]
         public Guid? TenantId { get; set; }
           
         /// <summary>
        /// 是否删除
        /// </summary>
		[Display(Name = "是否删除", Description = "是否删除")]
        [Column("IsDeleted")]
         public byte IsDeleted { get; set; }
           
         /// <summary>
        /// 创建时间
        /// </summary>
		[Display(Name = "创建时间", Description = "创建时间")]
        [Column("CreateTime")]
         public DateTime CreateTime { get; set; }
           
         /// <summary>
        /// 创建人GUID
        /// </summary>
		[Display(Name = "创建人GUID", Description = "创建人GUID")]
        [Column("CreateGUID")]
         public Guid? CreateGUID { get; set; }
           
         /// <summary>
        /// 创建人名称
        /// </summary>
		[Display(Name = "创建人名称", Description = "创建人名称")]
        [Column("CreatedName", TypeName = "VARCHAR(256)")]
		[StringLength(256)]
        public string CreatedName { get; set; }
           
         /// <summary>
        /// 修改时间
        /// </summary>
		[Display(Name = "修改时间", Description = "修改时间")]
        [Column("ModifiedTime")]
         public DateTime? ModifiedTime { get; set; }
           
         /// <summary>
        /// 修改人GUID
        /// </summary>
		[Display(Name = "修改人GUID", Description = "修改人GUID")]
        [Column("ModifiedGUID")]
         public Guid? ModifiedGUID { get; set; }
           
         /// <summary>
        /// 修改人名称
        /// </summary>
		[Display(Name = "修改人名称", Description = "修改人名称")]
        [Column("ModifiedName", TypeName = "VARCHAR(256)")]
		[StringLength(256)]
        public string ModifiedName { get; set; }
           
         /// <summary>
        /// 审核状态
        /// </summary>
		[Display(Name = "审核状态", Description = "审核状态")]
        [Column("ApproveState", TypeName = "VARCHAR(32)")]
		[StringLength(32)]
        public string ApproveState { get; set; }
           
         /// <summary>
        /// 审核人GUID
        /// </summary>
		[Display(Name = "审核人GUID", Description = "审核人GUID")]
        [Column("ApproveGUID")]
         public Guid? ApproveGUID { get; set; }
           
         /// <summary>
        /// 审核时间
        /// </summary>
		[Display(Name = "审核时间", Description = "审核时间")]
        [Column("ApproveTime")]
         public DateTime? ApproveTime { get; set; }
           
         /// <summary>
        /// 公司GUID
        /// </summary>
		[Display(Name = "公司GUID", Description = "公司GUID")]
        [Column("BuUnitGUID")]
         public Guid? BuUnitGUID { get; set; }
           
         /// <summary>
        /// 配置类参数编码
        /// </summary>
		[Display(Name = "配置类参数编码", Description = "配置类参数编码")]
        [Column("BizOptionCode", TypeName = "VARCHAR(1024)")]
		[StringLength(1024)]
        public string BizOptionCode { get; set; }
           
         /// <summary>
        /// 参数备注
        /// </summary>
		[Display(Name = "参数备注", Description = "参数备注")]
        [Column("BizOptionRemark", TypeName = "VARCHAR(9999)")]
		[StringLength(9999)]
        public string BizOptionRemark { get; set; }
           
         /// <summary>
        /// 分组名称
        /// </summary>
		[Display(Name = "分组名称", Description = "分组名称")]
        [Column("BizConfigGroupName", TypeName = "VARCHAR(64)")]
		[StringLength(64)]
        public string BizConfigGroupName { get; set; }
           
    }
}
